#define _CRT_SECURE_NO_WARNINGS 1
//#include <stddef.h>
#include <stdio.h>
//struct s
//{
//	char m;
//	int a;
//}s;
//int main()
//{
//	printf("%d", offsetof(struct s, a));
//	return 0;
//}
//#define my_offsetof(s,a) ((size_t)&(((s*)0)->a))
//struct s
//{
//	char m;
//	int a;
//}s;
////int main()
////{
////	printf("%d", my_offsetof(struct s, a));
////	return 0;
////}
//int main()
//{
//	(s*)0
//	return 0;
//}
#define jiaohuan(n) (((n&0x55555555)<<1)|((n&0xaaaaaaaa)>>1))
int main()
{
	
	printf("%d", jiaohuan(13));
	return 0;
}